Responder Developer Guide
IsInSet<T>(T,IEnumerable<T>) Method


Version: 10.2.1a

Resource Center Home

A value to compare against a set of values
A set expected values
Indicates whether a value is equivalent to at least one of a set of expected values.
Syntax
'Declaration
 
Public Overloads Shared Function IsInSet(Of T)( _
   ByVal value As T, _
   ByVal expectedValues As IEnumerable(Of T) _
) As Boolean
'Usage
 
Dim value As T
Dim expectedValues As IEnumerable(Of T)
Dim value As Boolean
 
value = DbCompare.IsInSet(Of T)(value, expectedValues)
public static bool IsInSet<T>( 
   T value,
   IEnumerable<T> expectedValues
)

Parameters

value
A value to compare against a set of values
expectedValues
A set expected values

Type Parameters

T

Return Value

True if the value exists in the set of expected values, otherwise false.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DbCompare Class
DbCompare Members
Overload List

 

 


Send Comment